import 'package:fish_redux/fish_redux.dart';

import 'action.dart';
import 'state.dart';

Reducer<TruancysubmissionState> buildReducer() {
  return asReducer(
    <Object, Reducer<TruancysubmissionState>>{
      TruancysubmissionAction.action: _onAction,
    },
  );
}

TruancysubmissionState _onAction(TruancysubmissionState state, Action action) {
  final TruancysubmissionState newState = state.clone();
  return newState;
}
